package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Type;
import org.joda.time.DateTime;

import com.sp.scmdb.common.DomainObject;

@Entity
@Table(name = "OBJ_AREA_DATA")
public class AreaData extends DomainObject {

	/** 人员ID */
	@Column(name = "empID")
	private int empID;

	/** 区域ID */
	@Column(name = "reID")
	private int reID;

	/** 进入时间 */
	@Column(name = "inTime")
	@Type(type = "org.joda.time.contrib.hibernate.PersistentDateTime")
	private DateTime inTime;

	/** 备注 */
	@Column(name = "rmk")
	private String rmk;



	public void setEmpID(int empID) {
		this.empID = empID;
	}

	public void setReID(int reID) {
		this.reID = reID;
	}


	public int getEmpID() {
		return empID;
	}

	/**
	 * @return the reID
	 */
	public int getReID() {
		return reID;
	}

	/**
	 * @return the inTime
	 */
	public DateTime getInTime() {
		return inTime;
	}

	/**
	 * @return the rmk
	 */
	public String getRmk() {
		return rmk;
	}

	/**
	 * @param inTime
	 *            the inTime to set
	 */
	public void setInTime(DateTime inTime) {
		this.inTime = inTime;
	}

	/**
	 * @param rmk
	 *            the rmk to set
	 */
	public void setRmk(String rmk) {
		this.rmk = rmk;
	}
}
